package com.woniu.service;

import com.woniu.entity.CreAudit;
import com.woniu.entity.CreExamineNew;

import java.util.List;

public interface CreditExamineNewService {
    /**
     * 查询
     *
     * @param examineId 主键
     * @return
     */
    public CreExamineNew selectCreExamineNewByExamineId(Integer examineId);

    /**
     * 查询列表
     *
     * @param creExamineNew
     * @return 集合
     */
    public List<CreExamineNew> selectCreExamineNewList(CreExamineNew creExamineNew);

    /**
     * 新增
     *
     * @param creExamineNew
     * @return 结果
     */
    public int insertCreExamineNew(CreExamineNew creExamineNew);

    /**
     * 修改
     *
     * @param creExamineNew
     * @return 结果
     */
    public int updateCreExamineNew(CreExamineNew creExamineNew);

    /**
     * 批量删除
     *
     * @param examineIds 需要删除的主键集合
     * @return 结果
     */
    public int deleteCreExamineNewByExamineIds(Integer[] examineIds);

    /**
     * 删除信息
     *
     * @param examineId 主键
     * @return 结果
     */
    public int deleteCreExamineNewByExamineId(Integer examineId);

    public CreExamineNew selectCreExamineNewByOrderId(Integer orderId);

    public CreAudit machineAudit(CreExamineNew creExamineNew);

    public String getUserName();
}
